<include file="Public/header"/>
	<div class="wrapperBox">
 
			<div class="help-l fl">
			    <div class="help-item">
			        <div class="help-item-title">个人中心
			            <a href="javascript:void(0)" class="abs"></a>
			        </div>
			        <div class="help-item-list">
			            <ul>
                            <li><a href="{:U('myaccount')}">账户余额</a></li>
			                <li><a href="{:U('index')}">编辑资料</a></li>
			                <li><a href="{:U('myJoin')}">我参与的</a></li>
			                <li><a href="{:U('myFollow')}">我关注的</a></li>
			                <li><a href="{:U('myHost')}">我发布的</a></li>
			                <li><a href="{:U('invited')}">邀请回答</a></li>
			            </ul>
			        </div>
			    </div>
			</div>

<div class="help-r fr" style="min-height:400px;">
	<div class="help-item-title">{$localTitle}
	 <a class="barbecue" dialog_id="edit" nc_type="dialog" dialog_title="自由发布" dialog_width="500" uri="{:U('hosting')}" href="javascript:void(0);"><i class="fa-ico"></i>自由发布</a>
	</div>

	<div class="participation">
		<div class="argue-nav">
			<ol>
				<li <if condition="ACTION_NAME eq myJoin">class="on"</if>><a class="argue-nav-top" href="{:U('myJoin')}">我参与的</a></li>
				<!-- <li <if condition="ACTION_NAME eq myComment">class="on"</if>><a class="argue-nav-top" href="{:U('myComment')}">我的评论</a></li> -->
				<li <if condition="ACTION_NAME eq myFollow">class="on"</if>><a class="argue-nav-top" href="{:U('myFollow')}">我的关注</a></li>
				<li <if condition="ACTION_NAME eq myHost">class="on"</if>><a class="argue-nav-top" href="{:U('myHost')}">我发布的</a></li>
				<li <if condition="ACTION_NAME eq invited">class="on"</if>><a class="argue-nav-top" href="{:U('invited')}">邀请回答</a></li>
			</ol>
			<div class="clear"></div>
		</div>

		<div class="attention-container">
			<ul>
				<notempty name="list">
				<volist name="list" id="vo">
					<li>
						<a class="text-title" href="{:U('Index/question',array('id'=>$vo['article_id']))}">{$vo['content']}</a>
						<if condition="ACTION_NAME eq myJoin && !empty($vo['new_comment'])"><span style="background:red; color:#fff; padding:0 3px;">{$vo['new_comment']}</span></if>
						<span class="overagain">
						<a class="barbecue" dialog_id="edit" nc_type="dialog" dialog_title="重新编辑" dialog_width="500" uri="{:U('rewrite',array('id'=>$vo['id']))}" href="javascript:void(0);">编辑</a>
						<a class="barbecue" href="{:U('delComment',array('id'=>$vo['id']))}">删除</a>
						</span>
					</li>
				</volist>
				</notempty>
			</ul>

			<!-- 如果没有数据 -->
			<empty name="list">
			<div>没有数据哦，加油哟！</div>
			</empty>
		</div>
					<div class="pro_page">  
					{$page}
		      </div>
	</div>
</div>
<div class="clear"></div>
<script type="text/javascript" src="__STATIC__/common.js"></script>  
<script language="javascript" src="__STATIC__/dialog/dialog.js"  id="dialog_js" charset="utf-8"> </script> 
<script type="text/javascript" src="__STATIC__/jquery-ui/jquery.ui.js"></script> 
<script type="text/javascript" src="__STATIC__/jquery-ui/i18n/zh-CN.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/jquery-ui/themes/ui-lightness/jquery.ui.css"  />
<link href="__STATIC__/dialog/custom.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
$('a[nc_type="dialog"]').click(function(){
	var id = $(this).attr('dialog_id');
	var title = $(this).attr('dialog_title') ? $(this).attr('dialog_title') : '';
	var url = $(this).attr('uri');
	var width = $(this).attr('dialog_width');
	CUR_DIALOG = ajax_form(id, title, url, width,0);
	return false;
});
</script>
<include file="Public/footer"/>